package demo2;

/**
 * Author：毕龙
 * Date: 2024/5/12 9:25
 */
public class Test123 {
    public static void main(String[] args) {
        B b = new MySubClass();
        System.out.println(b instanceof  A);
        B b1 = new MyClass();
        System.out.println(b1 instanceof  A);

    }
}
